const cheerio = require("cheerio");
const http = require("http");
const fs = require("fs");
const path = require("path");

var filePath = path.join(__dirname, "/list.html");
var fileContent = fs.readFileSync(filePath);
fileContent = fileContent.toString("utf-8");
// console.log(fileContent);
var $ = cheerio.load(fileContent);
$("ul li").each((i, el) => {
    console.log($(el).attr());
    // console.log($(el).text());
});
